﻿@model ForumGroup
@{
    Ajax.Dna().CollapsablePanel()
                .HtmlAttributes(new { style = "margin-bottom:10px;" })
                .Options(opts =>
                {
                    opts.ShowEffect = jQueryEffects.Slide;
                    opts.HideEffect = jQueryEffects.Clip;
                })
                  .Header(@<text>
    <h1 style="padding: 5px;" title="@Model.Description">
        <img src="@Url.Content("~/content/images/comments.png")" alt="@Model.Title" style="float:left;" />
        @Html.ActionLink(Model.Title, "Group", "Forum", new { Area = "Community", id = Model.ID }, null)
    </h1>
    <div style="display: block; padding: 0px; margin: 0px; height: 5px;" class="d-grid-column-selected">
        &nbsp;</div>
    </text>)
        .Body(() =>
        {
            Html.RenderPartial("_Forums", Model.SubForums);
        })
        .Render();
}
